package com.star.service;

import com.star.pojo.Comment;

import java.util.List;

/**
 * com.star.service
 *
 * @Description: 评论类接口
 * @Date: 2020-08-10 19:42
 * @Author: LENSTAR
 * @URL: http://123.57.161.114:9000/
 */
public interface CommentService {

    //根据博客id查询评论信息
    List<Comment> listCommentByBlogId(Long blogId);

    //添加评论
    int saveComment(Comment comment);

    //删除评论
    void deleteComment(Comment comment, Long id);

}
